﻿using System.ComponentModel.DataAnnotations;

namespace B.S.RbacData.Read.API.Dtos.Traceabilitys
{

    /// <summary>
    /// 产品信息传输
    /// </summary>
    public class GetProductDtos
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 商品编号Id
        /// </summary>
        public int GoodsId { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>


        public string ProductionBatch { get; set; } = null!;

        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int ShelfLifeDay { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>

 
        public string ProductionLicenseNumber { get; set; } = null!;

        /// <summary>
        /// 生产企业
        /// </summary>

        public string Manufacturer { get; set; } = null!;

        /// <summary>
        /// 封面图
        /// </summary>

        public string CoverImage { get; set; } = null!;


        /// <summary>
        /// 信息完善度
        /// </summary>
        public string Completeness { get; set; } = null!;



        /// <summary>
        /// 创建人
        /// </summary>
        public string  CreateUserName { get; set; }


        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateUserName { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

       /// <summary>
       /// 商品名称
       /// </summary>
        public string GoodsName { get; set; }= null!;

    }
}
